added fade-in mode