added the type to the poi object