worked on a function that finds the next palindromic number, it not itself