Optimized Mission Timer Code