cant just return a float, has to be some sort of struct or a map