initial coding of timescale, not filtering properly