debug and page adds