renamed size to len...