update to resp200 to match ram's code