Better japid implementation