Changed methods from public to private