added in initializer function and comments