randomness implemented in diff, almost thereeeee