switched to percentages for better flexibility