attributes to double (instead of int)