Added Basic Block-functions and added Texture