code that may be useful again
removed tmp files