Using match/case parsing