message cases and methods added in controller