added logic for diferentiate between browsers