finished moving main jid to impl