Add more logical action on input values