refined brush intervals, removed old code