trains, beginnings of a loop parser, jarfile scanning