added default values

I added default values to two functions that were annoying me by their
requests for extra info