simplified list code