removing as(str) stuff, maybe I don't need that