worked on models for database