result class is codified and tested