Added check_activity method when creating a trip