add photon buffer, cannot use now