made it work on mobile