use pointer to get the fragment reference
added type to display
added schema type (etype)
added type parsing, and pointer error handling