added server callback example