add method to application controler.rrp file