added method to determine if the user has moved