adding beginnings of clock