helpful message refactor