before start write controller code