Added Snoob function and testing for it