code refactoring; add welcome text