adding size attribute on getInfos()