validation added. tutorial complete.