changed line 60 back to thumbnail