Added drawText and setPen