can't get greet method to work