created 2 styles with conditional switches