inverted the boolean lead check, removed else