removed all the now-redundant drawing code