splitting jtns into separate plugin, getting rid of some intermediary vars