companion code