tempbuf added