use rest syntax