Added more explanation and renamed level to mode.