everything up to trimming