type in thumbindex (change selfself to self) and update docs