Laura's optics functions from Google drive