added Safari testability