added number assigning system to contents.