added enter checking