added EditText restrictions