added toggle for percent/raw data