unnecessary beans removed