TRIM and OFFSET tools