added ctrl+c handling