Rename pipe states to make it more mnemonic