fixed append
removed const from append()