i know its not working perfectly but added browser variable