add percentage, write file
todos