cleaned up the sample activity