code refactoring - kenexa