Implement delay and endDelay for groups