changed intervals to use columns