Working on Append function