added basic activity tracking