You'll want to rethink this Matt.  `setInverted` is supposed to set the internal isInverted property, not return anything.