Authorities didn't have to look too hard for the man who robbed a Canada Trust branch.

Craig MacNaughton, 31, of nearby Kelowna, wrote the holdup note on one of his deposit slips.MacNaughton pleaded guilty to robbery in provincial court Wednesday and was sentenced to three years in jail.

On Aug. 25, MacNaughton handed a teller a note, produced a large knife and said, "Give me your money, I need it," prosecutor Vern Frolick told the court.

When the Royal Canadian Mounted Police examined the robbery note, they discovered it was written on the back of a Canada Trust deposit slip, with MacNaughton's branch and account number filled in, Frolick said.

"I think what we're dealing with is a person of some diminished capacity," defense attorney Brian Adams said.