define size method