refactored and fixed jnxlist..