using motd class instead of a well