Finish basic logic of draw function