Updated variables and added hang time