On a semilinear Schrodinger equation with critical Sobolev exponent