a lot of tries, but still some bugs in recuuring events