Changed to system_clock to avoid extra trouble