sample code for trackomap application