added day processing