correct syntax

Correctly fix syntax for list as per example