Add percentage functionality