setting the list and the styles