modify engine.go to allow for arm