rearanging because I can't think of why else it wouldn't work