Added a method which gives an error why black & whit is not working