fixing base case
ignoring target