Text this: Hydrodynamics of slug flow inside capillaries