implement the add and get event - not tested yet