contract attachment solution