Is there a reason you used match instead of eq?