timer stuff partially done