deleted temp files, created record functions