initialized the value size as 0