simpler function syntax