some progress for the jimport macro