refactor to use lazy action sequences