added generate thumbhail proof of concept