fuge almost ok. needs some debug