various attempts
still having boundary problems...