add the size method to the header file too.