Added the texture mapping part