add echo statements