clean out old model code