LISP works from the inside bracket out. So, find the deepest nested function in the line where you have problems. Put it at the command line, and check the result. Is it what you expected? If not, then what needs to be changed? If it is providing the correct result, grab the next inner-most bracket and put that to the command line. Repeat the process until you come up to where it isn't giving the expected/correct result.