Chanage append to prepend