changed the way styles work