this is bad because i really wanted to use when the but I don't think it worked because it butchered what i was trying to say, better ways to word this while using when the?