removed borrow from model2 functions