moved passednumber to java index into it's own utils package