added create-temporary-buffer