make receiver static
modify test for standard work flow
add javadoc comments