added get_clock and shit