In line 56 'list' should be 'lists'.