SetTimer is a success. Added some more logic to reduce potential errors