changed original storage of keys to ints, cast to float is automatic