principles of end to end layers 5981749