space key management unfinished