still missing the trim test code