but I did but shared functionality into the application controller