final working binary clock