copied some styles