added return to delete warning