added ratio class for working with speeds