added option to control fade out speed.