moved the notice to the constructor