minor tweaks, testing with n=10
minor tweaks, testing with n=10