Adding NA event.avail condition and setting colnames.