use of provided function arguments with nullables to keep interface compliance happy