Preliminary for validation result
Make input stateless