add element recognization