removed check for NULL on new/delete