add r outputs that are relevant