Organized files, and added time varying latency functions