bernstein + clean up