reverse function in Executor