added interface. implemented part of print_jcf(not working properly). found line 501 causes segmentation fault