hook up set style function to list