added drag
added incremental data collection and plotting