use randFloatInRange from SharedUtil