create view_percents method for designer