add loop for echo