added query 10, checking timestamps added