added private to variable in Key