Create numLogic

See comments in code for futures.