add in param() and dimension(x) for John's sanity