replace calls to bind with partialComplete util