debugging attempt 1

after fixing some errors, there is still an error for scatter because it
is receiving multiple values for keyword argument 's'