added the add2geometry method