added directive, message and new styles