moved servo set to main