Changed append method