make non public functions private