now using percentages for input boxes