optimization: create reject function out of a loop
removing minified version. Who needs minified these days?
master promise with functional arguments