coded for anlyze