revise validation