rnw file of the BAAAD idea