VERY IMPORTANT: Make that log a function.