added size code