add dependancies to models