added more functionality to the markit api call