demo controller