prepend not working the way I wanted