entry point for rbget