trying to figure out jchess