tried to simplify/organize css