function of drilling machine