added set/get size functions