working on appending elements