getting hits but output is weird triangle pattern