added functions for actually loading in textures