Added basis of sunday logic