add some helper classes for BS.3