Made methods private because we are only usng them in the same class