changed parameters to string