Console outout function added