finishing up tmp