added Endpoints Creation Queries