random functions are non-deterministic