rewrite for mobile first