In the middle of adding indexes to end of day log. Currently not working yet.