Changed interface to handle title & message