Use a module function instead of a class for bob