new interface and input validations working properly