fix typo
set default value when args is not set
separate echo and evaluate function
shorten evaluate function