ticket 1: test/pass activity logic, database