console.logs should not be in there. sigh.