Added support for named groups in cycle