moving files to avoid not a function error