prepare for server models and api