Protocols of shaping