fetching model from db instance