removed model code