error handling done right in decode
globs for Weekday enum