Maybe use parens around the function params for consistency. On line 292 you call check_for_indexes with parens around the params