style: use arrow functions