replaced semi-colon with comma after listSize method