added structure
added log