for debugging purposes, handling status is written in case of change in the status.