make callback variables private