added reversed method into controller