Initial timer. Updated functionality