to_maintain is a set not a list