use floats in transfer function