added ctrl+enter functionality