figure drawing implemented (still need work).