adding exception safety notes