Worked on smallRev. Needs more work.