preliminary styles, starting event handler