basic tiles functioning with metrojs