updated controller section