get rough version of indexJ writteng