added discAnalysis and move more usefull functions for complete to utils, which is now obs