use match instead of repr