added some functions

draw, clear, etc...