Fixed the compilation errors, now uses Sparcraft timer instead