callback function in seismosizer