moving model functionality