fixed the analyzing problems and calculating now a complete score