code formatted and run findbugs