making the enter key work