added showMessage