when handles non-promises in input