debuged version of fishcook