Putting back the isValid call in phase1 action