added documentation for .extend()