fixed coding format for pep8 & added 'space' key