added demo controller