added group by day to pass fail