got rid of texture[0] stuff