IPC: code gardening