public static PathwayElement createMapInfo(
			String title, String version, String organism,
			List<String> commentList, List<String> bioPaxRefs) {
		
		// create pathwayElement line
		PathwayElement pwElt = PathwayElement.createPathwayElement(ObjectType.MAPPINFO);
		if (!(title.equals(""))) pwElt.setMapInfoName(title);
		if (!(version.equals(""))) pwElt.setVersion(version);
		if (!(organism.equals(""))) pwElt.setOrganism(organism);
		
		if (commentList.size() > 0) {
			for (int i=0; i < commentList.size(); i+=2) {
				pwElt.addComment(commentList.get(i), commentList.get(i+1));
			}
		}
		
		if (bioPaxRefs.size() > 0) {
			for (int i = 0; i < bioPaxRefs.size(); i++) {
				pwElt.addBiopaxRef(bioPaxRefs.get(i));
			}
		}
		return pwElt;
	}