Added api functional