how to setup models