beginning to add transforms, added errors for undefined required variables. set defaults for options.