changing inline to inline_in_segment