use `$~` to simplify code