change parameters from string to integer