fixed divs and added snippet definition