First primitive implementation of callback setting