change append to prepandto