using master-slave controls