implemented default percentage in settings