Split the select Model/Database call to appropriately give a response.