On line 21: ```python if not filename.split('.')[-1] in extentions: continue ``` The word _extentions_ should be **extensions** like on line 11: ```python extensions = ['jpeg', 'png'] ``` Other than that, it works fine. :)