That doesn't quite right what you're doing - can you post a link to the documentation you're following?
thanks Brian