Finished analyzer, still needs testing