added a prepend method