created textures data type, threw it into state