debug hand write view init