wrote fade program