Adding how to avoid pass nil in method calls with default values