renamed wrapAndMerge method to wrap
renamed appending and prepending to append and prepend
renamed the andReturn method to provide