append motd
refactor 1
refactor2
refac too