added 2 methods and changed 3 methods access from private to protected: needed for import/export modules