new method checkCondition() added to conditional buffer. Latest objects incorporated to LineGenerationJson