move bunch usage into a class