added comments to rb.h