add how to get bean number and names