new type added
implemented nested mapping