further refinement to rboids library