optimized attribute transferring