more work on levels and textures