Removed useless draw function