added main element to parser