One should never use a mutable as a default param value as said mutable will only be initialised once and will retain its modified state between calls.