adding changes to the api

Signed-off-by: RJ garcia <rj@bighead.net>