added delegate to deleteform class