Alter switch to switches. Fixes #79