got model working, YAY. generalizing