added a greeting method