log doesn't exist in this context