added messages and styles