added size property and reorganized the file.