log is now a function