correct initialization and styles