method getTarget isn't used
method buildVar is never used
method getVersion is never used
refactoring