adding stuff to model layer