added fade in and out