jc distance stuff