Created append functionality