inverting operators start and ends with