clean up Deterministic class