separated to main and made a stlye sheet