Hal

No more syntactic errors from HAL

Do need to debug and check to see if the state is being modified appropriately.