use vanilla's BS instead of rolling its own