added statusCode attribute
multiple changes