float doesn't exist in go
using float32 for now, willing to change to float64 if needed