added viewContext to parts with proper referencing