move require lines around so they make more sense