split sub/ob api into two seperate