works with notifications