Tried to make the class private but it does not work.