move code out of dummy file, into proper class location.