Added wicked and a type cast