change param type from string to int