added greeting to end