(;GM[1]FF[4]CA[UTF-8]AP[CGoban:3]ST[2]
RU[Japanese]SZ[19]KM[0.00]
PW[White]PB[Black to play and make profit in the corner]AW[rm][sm][qn][sn][qo][ro][op][pp][mq][pq][lr][nr][or]AB[ql][rl][sl][qm][pn][mo][oo][po][np][nq][oq][pr]
(;B[rq]C[Playing the diagonal peep is often a good play in these situations.]
;W[qr]
;B[qp]
;W[qq]
;B[rp]
;W[rr]C[However not in this position as White's eye on the right makes Black lose the fight as Black can never make atari without self-atari.])
(;B[qr]C[Pulling this stone out looks at White's weaknesses too.]
;W[rq]
(;B[qq]
;W[qp]
;B[rr]
;W[sq]C[However White can easily make two eyes.])
(;B[rr]
;W[qq])
(;B[qp]
;W[qq]))
(;B[qq]C[The atari is no good either.]
;W[qp]
;B[qr]
;W[rq])
(;B[sp]C[This makes use of White's other weakeness 
at it threatens to make the eye on the edge false.
This is the correct attack.]
(;W[so]C[If White makes the eye, something is captured quickly.]
;B[qp]
(;W[rp]
;B[qq])
(;W[qq]
;B[rp]))
(;W[rp]
;B[rq]C[Now White is in bad shape.]
(;W[qq]
;B[qr]
;W[qp]
;B[rr]C[White loses the fight.])
(;W[qr]C[So White had better catch this cutting stone.]
;B[sq]C[This threatens the eye again.]
;W[so]
;B[qq]C[If White makes the eye then White cannot connect after this move, because of shortage of liberties.]
(;W[qp]
;B[rn])
(;W[ps]
;B[qp])))
(;W[rq]C[If White can read out the rest of the sequence after trying to save the three edge stones, then it is best to give them up with a play like this.]
(;B[so]
;W[rp]
;B[rn]C[Black gets to capture the three stones and still White
to be careful when protecting the corner if Black gets to play again there.]
;W[lp]
(;B[sq]
(;W[sr]
;B[qq])
(;W[qr]
;B[qq]
;W[ps]
;B[rr]
;W[qp]))
(;B[qq]
;W[qp]
;B[rr]
;W[qr]
;B[sq]
;W[ps]))
(;B[qp]C[This looks good for Black now but it fails.]
;W[qq]
;B[rp]
;W[sq]))))
