Nonlinear Schrödinger with potential