fixed bad varname and added thumbnail image