removing reference to models