wrote root view controller