spelling mistake: $privateFoo with just one r