final exam, bugs found - working on