dont use reserved variable 'status'