added line logging for temp stack inspection