change logger to protected because we might/might not need it