added spacebar to acceptable input.