add part collection code