changed standardize and switchXY to radio-buttons