add main data and http status