adding background
graph animation and clean up