added safe keyword