setting up tmp