moved notice to layout