convert for zoom levels

and add rails