Add showMessage method