Output always the same

Probably you are mistakenly passing it always the same input? Without looking at the code it is difficult to help you more :confused: