added Katie's f.models function