added a beat clock