lots of stuff, fixed delete cascade in models