fixed random g