param checks, removed reference setting