implemented receiving/received callbacks and fixed some arginfo