Optimizations, worked on colors and worked on capturing events