modify variable from public to private