remove error checking and change param name for consistency