change logic to not take parameters in the getting of locations and instead take them as constructor arguments
change all parameters to non final and allow modification, remove scatterparameters