removed libjl777.h, added defs to main