added enter key tracking