change syntax for list