replaced case statement with hash for day or the week method