create a function, call it and log its call out.