Removed unneccessary Temp dependency and nicer logging output