How to build your own cuckoo clock