added API funcs