add view-controller sample