Completed the get method and size method.