models connect properly and everything is created properly