add fadding flash based on type