Refactor method names. Allow num bars to be settable