adding wave controller