make_temp interface changed