initialization routines integrated with bstrlib