defind a private methods