add String function for needle to print