add status code getter.