removed all code from models