adding echo statements