add clock and timer