added .f to avoid type conversion warning