answer to partial function without bind