use parse int if size is asigned