the code for the list