changed style and messages