added missing public to methods