Solved: message passing, variable scope