added implementation for append operations
belongs to last patch