added enter key funcitonality