implemented geometry parser