source code for GOIFISH and test sample