change API to remove extraneous parameters