This is a version with prepend.