add leader support, docs