new rules for different browsers