make notification optional