trying to fix list code