validation nearly finished