change color getRed and other methods to const