adjusted code to try and fix the results problem