building doc & simplified API