used printf instead of echot o align output