added day, min, hour inputs to index.