Added a require statement to the list class and fixed a bug in the web call method