added swgmented control