code clean up and changed color gradient