minor change to cast