seeing if this function will work in IE