stages -> stage_types, call_stages -> stages