access to private element of a class