listing style 1-2 function