adding some more control mechanisms for the wave generators