added is_thick argument