The operation of an optical fibre is based on the principal of