adding a wait frame