Implement case. Closes #82