you can remove this `if` bc the param is required and the execution wont reach to here without it.