added callback setting