added size variable