Changing to a "how many x, how many y" function instead of trying to do the math