default function parameter values are good for this kind of thing, don't have to bother changing though.