Code verified working with tast case