You can immediately return target here, simplifying method code.