added functionality for IE compatibility