updated to new param spec