wrote drawing code; lets see if this works