added chronograph stuff and improved query functions