added stub api support