updated for chrome