refactor
setting message