changed all method parameters from string to other things