allow for param switching