Simplfied the hit_api view