What's the error msg ? and btw , are you sure you should use {} instead of [] ?