understanding member, local and anonyous classes