code partly integrated