unused error handler removed
weekday index starts at 1 for consistency's sake