Added statuschange recording