ken's loop for echo