added progress bar into cstyle