trying to figure out linking the models