made callbacks static