refactor: to generalise servo parameters