added stuff before deleting