Changed check goal to receive only target argument.