change signature and usage of get_float4