input validation should return proper signature