moved reset occupation other to else statement