added quit signal