made changes to valuescontroller