added fade logic