syntax for matching first/rest of list