Is there a reason to not have a single function and
switch
on the enum in it?
switch
on the enum in it?