adding append method