public void data( String sentence  )
	{
		String identifier = sentence.substring( 1, 6 ).replaceAll( "-", "" );
		NMEASentence s;
		Class c;
			
		//create class object and sentence
		try {
			//get class object
			c = Class.forName( "com.anthonyontheweb.nmea.sentence." + identifier + "Sentence" );
			
			//create the sentence
			s = (NMEASentence) c
					.getDeclaredConstructor( String.class )
					.newInstance( sentence );
		} catch (SecurityException | ClassNotFoundException | InstantiationException | IllegalAccessException | IllegalArgumentException | InvocationTargetException | NoSuchMethodException e) {
			return;
		}
		

		//not null? add to our map
		if( s != null )
		{
			//add the object to our map
			data.put( c, s );

			//call event if it exists
			if( events.containsKey( c ) )
			{
				events.get( c ).event( s );
			}
		}
	}