added repository to Models