working on implementing 12-hour clock. errors still exist.