Added an int() to avoid quotients to stay as floats