refactor model on summary