output of consistency.r is stored in data"