command refactors; echo command