added API doc