removed unnecessary lines

Removed extraneous stroke commands in sample code