jst-eh stuff (not finished)