chore(style): code cleanup
fix(balls): ball number can not go below 0
refactor(collection items): Collection items indexes are int
test(change detector): re-add a previously failing test