change var to private