code reviewed with findbugs.