adding in delay code, cpu utilization code, etc