weights are usually floating point