change color and fix initialization