Adding bbb sub generator