created API endpoints for temporary model