add thin and rand5