Delcared staring variables, procedure, and greeting function