status code also written for normal flow