made LoadTextures function