added smart group routing