deleted python snippet