added RF comparison
unit tests should pass now