conditionally adding occupied class