application contoroller  private method