added basic bearing library