new drawing routine through classes now works