updated thin version