updates result type to test with