What input do you give it? What is the strange output? What output did you expect?