added animation loop and textures