added statuscode field