models assoc and dependancies