Use anchor type instead of the notify trick