implemented the executor and group0main