Changes to AI - Timer added