Copy of RBL Library from Red Bear Labs