Added x and y parameters to the drawText method that specify the origin
coordinates at which the text will be drawn