style change - use function instead of operator