Added logging of temp-values