change methods from public to private