now computes from csv also