avoiding imput errors - basic 4b