Modified on cone_speckle.c