changed api for berlinClock