better callback documentation