changed method to use servo library in effort to reduce misbehaviour