trying to make this work in other browsers