get type and not create if already existing
finalized lettuce for add location hierarchy