I guess the problem has something to do w/ scope