change order of struct's guard argument