making it work for mobile