added append method