got some output working, temp values seem way off though