Changed private to protected
Simplified the constructor