Appears that j is unused here and can be removed.