changed second prepend to append