moved createThumb to create new function