add console fns.