added head servo functions