I see one more magic number: id offset (id * 10)... :)