detention for flashing in Models