added grabTextures calls