Reimplemented Switch statement, switched to timers
this *MIGHT* work. If not, we can always revert to a previous version.