move method defn out of initialize

amazed this actually worked