implemented basic analyzer