Refactored Code - Methods added in Textures