add javadocs to castaway class
Debug purpose
Merge...