removed log statements
fixed small off-by-one issue in chart; removed logs