switch to new result type
compiles with new result type