echo exercise

Added var to make variable local