referee and tests
initial codes
Fixes