Wheatley governor code