added std::move when adding gcode to block