updated set notation to hopefully be backwards compatible