feat: adding input validations