now uses textures