stupid mistake with algorithm + notification center